import axios from './middleware'

export default {
	fetchCustomerRelateDomain (params) {
        let new_params = Object.assign({}, params, {
            page: 1,
            pagesize: 10000,
            orderby: 1,
            order: 'desc'
        })         
        let uri = '/customer/domain/list';  
        let config = {
            new_params
        }
		return axios.get(uri, config);
    },  
    queryBandwidthData(params){
        let uri = '/customer/domain/list';  
        let config = {
            params
        }
		return axios.get(uri, config); 
    }
} 
